package otherTest;

/**
 * Created by cww
 * Date : 2018/7/2
 */
public class ValueTransmit {
    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        System.out.println("a=" + a + "; " + "b=" + b);
        modifyPrimitiveTypes(a, b);
        System.out.println("a=" + a + "; " + "b=" + b);

    }
    private static void modifyPrimitiveTypes(int a,int b){
        a = 5;
        b = 6;
        System.out.println(a+" "+b);
    }
}
